package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsFlashPromotionProductRelationDO;
import com.macro.mall.model.sms.SmsFlashPromotionProductRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsFlashPromotionProductRelationMapper   extends BaseMapper<SmsFlashPromotionProductRelationDO> {
    long countByExample(SmsFlashPromotionProductRelationQuery example);

    int deleteByExample(SmsFlashPromotionProductRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsFlashPromotionProductRelationDO record);

    int insertSelective(SmsFlashPromotionProductRelationDO record);

    List<SmsFlashPromotionProductRelationDO> selectByExample(SmsFlashPromotionProductRelationQuery example);

    SmsFlashPromotionProductRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelationDO record, @Param("example") SmsFlashPromotionProductRelationQuery example);

    int updateByExample(@Param("record") SmsFlashPromotionProductRelationDO record, @Param("example") SmsFlashPromotionProductRelationQuery example);

    int updateByPrimaryKeySelective(SmsFlashPromotionProductRelationDO record);

    int updateByPrimaryKey(SmsFlashPromotionProductRelationDO record);
}
